package com.csun.cmny.provider.model.dto.customerArchives;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.util.Date;


@Data
public class FamilyMedicalHistoryDto {


    /*老人id*/
    @NotNull(message = "{Archives.id.null}")
    private Long oldmanId;

    /*疾病类型父级id*/
    @NotNull(message = "{Archives.parentLevelId.null}")
    private Long parentLevelId;



   /*与老人关系 0-父亲 1-母亲 2-兄弟姐妹 3-子女*/
    @NotNull(message = "{Archives.relation.null}")
    private String relation;

}
